//
// Created by james on 2022/1/22.
//

#ifndef JETPACKFRAMEWORK_BITMAT_H
#define JETPACKFRAMEWORK_BITMAT_H

#include <opencv2/opencv.hpp>
#include <android/bitmap.h>
using namespace cv;

class bitmat {
public:
    void BitmapToMat(JNIEnv *env, jobject& bitmap, Mat& mat);
    void MatToBitmap(JNIEnv *env, jobject& bitmap, Mat& mat);
};


#endif //JETPACKFRAMEWORK_BITMAT_H
